package com.bmf.admin.module.attribute.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bmf.core.result.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
/**
 * (Attribute)表实体类
 *
 * @author makejava
 * @since 2022-11-04 17:32:52
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("attribute")
@ApiModel
public class Attribute implements Serializable {
    @TableId
    private Integer id;

    //中文名称
    @ApiModelProperty(value = "中文名称")
    private String cname;
    //英文名称
    @ApiModelProperty(value = "英文名称")
    private String ename;
    //描述
    @ApiModelProperty(value = "描述")
    private String describes;
    //默认值
    @ApiModelProperty(value = "默认值")
    private String defaultValue;
    //最大值
    @ApiModelProperty(value = "最大值")
    private Double max;
    //最小值
    @ApiModelProperty(value = "最小值")
    private Double min;
    //类型
    @ApiModelProperty(value = "类型")
    private String type;
    //备选项
    @ApiModelProperty(value = "备选项")
    private String alternate;
    //单位
    @ApiModelProperty(value = "单位")
    private String unit;
    //小数位
    @ApiModelProperty(value = "小数位")
    private Integer decimalDigits;

    @TableField(exist = false)
    @ApiModelProperty(value = "页码，分页查询时传入")
    private Integer pageNo;

    @TableField(exist = false)
    @ApiModelProperty(value = "一页数量，分页查询时传入")
    private Integer pageSize;



}
